package cn.com.shopec.erp.warehouse.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @ClassName: StockTransfer.java
 * @Description: 库存挑拨单表
 * @author: zengxuezhou
 * @date: 2017年1月24日 下午2:53:32
 */
@Entity
@Table(name = "TBL_STOCK_TRANSFER")
public class StockTransfer implements java.io.Serializable {

	private static final long serialVersionUID = -5762745099813598338L;

	/** 主键 **/
	private String id;
	/** 调拨单号 **/
	private String transferNo;
	/** 调出仓库编号 **/
	private String transferOutWhNo;
	/** 调出仓库名称 **/
	private String transferOutWhName;
	/** 调入仓库编号 **/
	private String transferInWhNo;
	/** 调入库名称 **/
	private String transferInWhName;
	/** 负责人 **/
	private String director;
	/** 审核人 **/
	private String auditor;
	/** 流程状态 0.创建调拨单（待审核） 1.已审核 2.已生成出库单 3.出库完成（待生成入库单） 4.入库完成 **/
	private Integer flowState;
	/** 备注 **/
	private String remark;
	/** 创建日期 **/
	private Date createTime;
	/** 审核日期 **/
	private Date approveTime;
	/** 调出日期 **/
	private Date transferOutTime;
	/** 调入日期 **/
	private Date transferInTime;

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "TRANSFER_NO")
	public String getTransferNo() {
		return transferNo;
	}

	public void setTransferNo(String transferNo) {
		this.transferNo = transferNo;
	}

	@Column(name = "DIRECTOR")
	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	@Column(name = "AUDITOR")
	public String getAuditor() {
		return auditor;
	}

	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}

	@Column(name = "FLOW_STATE")
	public Integer getFlowState() {
		return flowState;
	}

	public void setFlowState(Integer flowState) {
		this.flowState = flowState;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "APPROVE_TIME")
	public Date getApproveTime() {
		return approveTime;
	}

	public void setApproveTime(Date approveTime) {
		this.approveTime = approveTime;
	}

	@Column(name = "TRANSFER_OUT_TIME")
	public Date getTransferOutTime() {
		return transferOutTime;
	}

	public void setTransferOutTime(Date transferOutTime) {
		this.transferOutTime = transferOutTime;
	}

	@Column(name = "TRANSFER_IN_TIME")
	public Date getTransferInTime() {
		return transferInTime;
	}

	public void setTransferInTime(Date transferInTime) {
		this.transferInTime = transferInTime;
	}

	@Column(name = "TRANSFER_OUT_WHNO")
	public String getTransferOutWhNo() {
		return transferOutWhNo;
	}

	public void setTransferOutWhNo(String transferOutWhNo) {
		this.transferOutWhNo = transferOutWhNo;
	}

	@Column(name = "TRANSFER_OUT_WHNAME")
	public String getTransferOutWhName() {
		return transferOutWhName;
	}

	public void setTransferOutWhName(String transferOutWhName) {
		this.transferOutWhName = transferOutWhName;
	}

	@Column(name = "TRANSFER_IN_WHNO")
	public String getTransferInWhNo() {
		return transferInWhNo;
	}

	public void setTransferInWhNo(String transferInWhNo) {
		this.transferInWhNo = transferInWhNo;
	}

	@Column(name = "TRANSFER_IN_WHNAME")
	public String getTransferInWhName() {
		return transferInWhName;
	}

	public void setTransferInWhName(String transferInWhName) {
		this.transferInWhName = transferInWhName;
	}
}
